package com.ruoyi.situation.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; //添加
import com.ruoyi.situation.domain.Situation;

/**
 * 态势估值Mapper接口
 * 
 * @author ruoyi
 * @date 2024-11-15
 */
public interface SituationMapper extends BaseMapper<Situation> //修改
{
    /**
     * 查询态势估值
     * 
     * @param id 态势估值主键
     * @return 态势估值
     */
    public Situation selectSituationById(String id);

    /**
     * 查询态势估值列表
     * 
     * @param situation 态势估值
     * @return 态势估值集合
     */
    public List<Situation> selectSituationList(Situation situation);

    /**
     * 新增态势估值
     * 
     * @param situation 态势估值
     * @return 结果
     */
    public int insertSituation(Situation situation);

    /**
     * 修改态势估值
     * 
     * @param situation 态势估值
     * @return 结果
     */
    public int updateSituation(Situation situation);

    /**
     * 删除态势估值
     * 
     * @param id 态势估值主键
     * @return 结果
     */
    public int deleteSituationById(String id);

    /**
     * 批量删除态势估值
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSituationByIds(String[] ids);

    /**
     * 根据stationType获取该对象
     * @param stationType
     * @return
     */
    Situation selectSituationByStationType(String stationType);
}
